@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100;0,9..40,200;0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;0,9..40,1000;1,9..40,100;1,9..40,200;1,9..40,300;1,9..40,400;1,9..40,500;1,9..40,600;1,9..40,700;1,9..40,800;1,9..40,900;1,9..40,1000&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* 
font-family: 'DM Sans', sans-serif;
font-family: 'Inter', sans-serif;
font-family: 'Merriweather', serif;
font-family: 'Montserrat', sans-serif;
*/

:root {
  --p-font: 'Inter', "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
  --h-font: 'Montserrat', "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;

  --primary: #b52024;
  --primaryRGB: 181, 32, 36;

  --secondary: #231f20;
  --secondaryRGB: 35, 31, 32;



  --third: #000000;
  --thirdRGB: 0, 0, 0;
}



/* hide home sections */

/* live hide */
.home #quicksearch-section {
  display: none;
}

.home .fp-header,
.home .sidebar,
.home .mobile-address-search {
  display: none;
}


.home .content-banner-link {
  display: none;
}


/* Page Resets */

body.home {
  padding-top: 0 !important;
}

.home .body-content {
  max-width: 100%;
  padding: 0;
}

.home .body-content .body-container {
  padding: 0;
  width: 100%;
  float: none;
}


/* Fonts */
body *:is(p, li, a, label, legend, button, option) {
  font-family: var(--p-font) !important;
}

body *:is(h1, h2, h3, h4, h5, h6, .text-hero) {
  font-family: var(--h-font) !important;
}

body h1,
body.home h2,
body .search-header {
  font-weight: 400;
}



/* navigation */
nav.top-nav {
  --miranda-nav-height: 100px;
  --logo-size: 75%;
  height: var(--miranda-nav-height);
  transition: 300ms ease;
}

/* banner top color */
body.home nav.top-nav:not(.custom-scroll) {
  opacity: 1;
  background-color: rgb(255, 255, 255, 0);
  border: none;
}

nav.top-nav.custom-scroll {
  box-shadow: 0 1px 8px rgb(0, 0, 0, 0.15);
  border-bottom: none;
}


/* logo size */
@media (min-width: 736px) {
  nav.top-nav .logo img {
    transition: 300ms ease;
    max-height: var(--logo-size);
    max-width: 100%;
  }
}

@media (max-width: 735px) {
  nav.top-nav .logo img {
    top: auto;
    bottom: 3px;
  }
}

/* white logo at top */
/* @media (min-width: 736px) {
  body.home nav.top-nav:not(.custom-scroll) .logo img {
    filter: brightness(0) invert(1);
  }
} */

body.home header>nav>div:first-child {
  transition: 300ms ease;
}


/* custom banner top nav links */
@media (min-width: 736px) {

  body.home nav.top-nav.unshrunk:not(.custom-scroll) a,
  nav.top-nav:not(.custom-scroll) .user-contact-icons li i {
    color: #fff;
  }

  body.home nav.top-nav:not(.custom-scroll) a:hover,
  nav.top-nav:not(.custom-scroll) .user-contact-icons li i:hover {
    color: #f8f8f8;
  }
}

/* scrolled and pages nav links */
/* body.home nav.top-nav.custom-scroll a,
body.pages nav.top-nav a {
  color: var(--primary);
}

body.home nav.top-nav.custom-scroll .user-contact-icons li i {
  color: var(--primary);
}

body.home nav.top-nav.custom-scroll a:hover,
body.pages nav.top-nav a:hover {
  color: var(--secondary);
} */

/* fix ugly border */

nav.top-nav .nav a {
  font-size: .85em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav.top-nav.unshrunk .nav a {
  position: relative;
  padding-bottom: 0.5rem;
}

nav.top-nav.unshrunk .nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  /* transform: translateX(-50%); */
  width: 0%;
  height: 2px;
  transition: 300ms ease;
}

/* scrolled and pages bg */
nav.top-nav.unshrunk.custom-scroll .nav a::after,
body.pages nav.top-nav.unshrunk .nav a::after {
  background: var(--primary);
}

/* custom banner nav links */
body.home nav.top-nav.unshrunk:not(.custom-scroll) .nav a:hover::after {
  background: var(--primary);
}

nav.top-nav.unshrunk .nav a:hover::after {
  width: 100%;
}

/* Hero */

#custom-hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: grid;
  background-position: center;
  background-size: cover;
  padding-top: 6rem;
  padding-bottom: 2rem;
}

.custom__video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#custom-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-image: linear-gradient(rgb(0, 0, 0, 0.25), rgb(0, 0, 0, .15), rgb(0, 0, 0, 0.25));
}

#custom-hero .custom-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 3;
  padding-inline: 1rem;
  width: min(1140px, 100%);
  left: 50%;
  transform: translateX(-50%);
}

#custom-hero .custom-hero-content.hoz-s {
  padding-block: 0;
}

#custom-hero h1 {
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  margin: 0;
  padding: 0;
  border: none;
  text-shadow: 1px 1px 0.25rem rgb(0, 0, 0, 0.35);
  font-size: 2.5rem;
  font-weight: 400;
  color: #fff;
  line-height: 1;
  text-wrap: balance;
}

#custom-hero h1 span.--sub {
  display: block;
  font-size: 0.35em;
  margin-top: 1rem;
  font-weight: 400;
  font-family: var(--p-font);
  word-break: break-word;
}


#custom-hero h2 {
  text-align: center;
  color: #fff;
  line-height: 1;
  margin: 0;
  padding: 0;
  margin-top: 1em;
}

#custom-hero #custom-search-tabs {
  display: grid;
  margin-top: 1rem;
  gap: 1rem;
  position: relative;
  z-index: 3;
  width: 100%;
}

#custom-hero #custom-search-tabs a {
  display: inline-block;
  line-height: 1;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
  color: #fff;
  transition: 300ms ease;
  padding: 1em 3em;
  background-color: rgb(var(--secondaryRGB), 0.85);
  text-align: center;
  font-size: 0.9em;
  font-weight: bold;
  text-transform: uppercase;
}

#custom-hero #custom-search-tabs a:hover {
  background-color: var(--primary);
}

@media (min-width: 768px) {

  #custom-hero h1 {
    font-size: calc(2rem + 1vw);
  }

  #custom-hero #custom-search-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

}

.home #custom-hero #react-typeahead {
  width: 100%;
  /* margin-top: 1rem; */
  max-width: 100%;
}

/* custom search box */
#custom-hero form {
  width: 100%;
}

#custom-hero form .search-section {
  width: 100%;
  padding: 0;
}

#custom-hero .hoz-s .search-section .search-container {
  width: 100% !important;
  border-radius: 0;

  padding-block: 15px;
}

@media (max-width: 46em) {
  #custom-hero .hoz-s .search-section .search-container {
    background-color: var(--search-bg) !important;
  }
}

#custom-hero .search-section .search-row,
#custom-hero .search-section .price-row,
#custom-hero .search-section .property-type,
#custom-hero .search-section .hero-search-submit {
  max-width: 100%;
}

#custom-hero .hoz-s .search-section .hero-search-submit .hs-submit input {
  margin: 0;
  border-radius: 0;
  text-transform: uppercase;
  font-size: .95em;
  letter-spacing: 2px;
  transition: 300ms ease;
  font-family: var(--p-font) !important;
}

#custom-hero .search-container label,
#custom-hero .search-container .price-to {
  text-transform: uppercase;
  letter-spacing: 1px;
}

#custom-hero .miranda-lb .search dd select,
#custom-hero a.multiSelect,
#custom-hero .on-device select[multiple=multiple],
#custom-hero .styled-select select {
  text-transform: uppercase;
  letter-spacing: 1px;
  background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTFweCIgaGVpZ2h0PSIxMHB4IiB2aWV3Qm94PSIwIDAgMTEgMTAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3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jM1LC0wLjE3IC0wLjA2Nzc2NDcwNTksLTAuMTIzMTU3ODk1IEMtMC4xMzg3MDU4ODIsLTAuMDc1Nzg5NDczNyAtMC4xNzQ3MDU4ODIsLTAuMDA0NzM2ODQyMTEgLTAuMTc0NzA1ODgyLDAuMTEzNjg0MjExIEwtMC4xNzQ3MDU4ODIsOS44MjQyMTA1MyBDLTAuMTc0NzA1ODgyLDkuOTMwNTI2MzIgLTAuMTM4NzA1ODgyLDEwLjAxMzE1NzkgLTAuMDY3NzY0NzA1OSwxMC4wNjA1MjYzIiBpZD0iRmlsbC0xIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+ICAgICAgICAgICAgPC9nPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+") no-repeat right 7px center, transparent !important;
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
}

#custom-hero .hero-search-submit a {
  text-transform: uppercase;
  font-size: .85em;
  letter-spacing: 1px;
  font-family: var(--p-font) !important;
}

/* page updates */
#quicksearch-section {
  position: relative;
}

.search-header {
  text-shadow: 1px 1px 0.25rem rgb(0, 0, 0, 0.5);
}

#quicksearch-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.2);
  z-index: 2;
}

#quicksearch-section>.hoz-inside {
  position: relative;
  z-index: 3;
}